package hebClustering.vectorSpace.distances;

import hebClustering.vectorSpace.IVector;


/**
 * This interface describes the basic operation required by a distance function.
 *
 *	@see <a href="http://en.wikipedia.org/wiki/Distance_function" target="_blank">Distance functions</a>
 */
public interface IDistance {
	
	/**
	 * Calculates the distance between two vectors.
	 * 
	 * @param v1
	 * @param v2
	 * 
	 * @return The distance.
	 */
	public double calc(IVector v1, IVector v2);
	
}
